import 'package:flutter/material.dart';
import 'pages/tabs.dart';
import 'splashscreen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(

      title: 'login',
      debugShowCheckedModeBanner: false, // 去掉app右上角的debug图标
      home: const SplashScreen(),
      routes: <String, WidgetBuilder>{
        '/IndexPage': (context) => const Tabs()
      },

      /*title:'Flutter demo',
      theme: ThemeData(
          primaryColor: Colors.blue
      ),
      home: Tabs(),*/

    );
  }
}